package pcgen.android.app;

import android.content.Context;
import android.content.DialogInterface;

public abstract class DialogClickListenerHandler extends AppListenerHandler implements DialogInterface.OnClickListener 
{
	public DialogClickListenerHandler(Context context)
	{
		super(context);
	}
	
	public Object getTag()
	{
		return _tag;
	}
	
	public abstract void onClick(DialogInterface dialog, int id);
	
	public void onAfterDismiss(DialogInterface dialog, int id)
	{	
	}
	
	public void setTag(Object value)
	{
		_tag = value;
	}
	
	public boolean Cancel = false;
	
	private Object _tag;
    
    @SuppressWarnings("unused")
	private static final String TAG = DialogClickListenerHandler.class.getSimpleName();
}
